package com.example.hzly.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hzly.entity.StoryFavorite;

public interface StoryFavoriteService extends IService<StoryFavorite> {
    boolean addFavorite(Long userId, Long storyId);
    boolean removeFavorite(Long userId, Long storyId);
    boolean isFavorite(Long userId, Long storyId);
} 